package com.app.miwawa.api.esm.entity.contract;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.framework.common.api.entity.CommonEntityUUID;

/**
 * 付款信息
 * <p>描述: 合同</p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date 2016年1月30日 下午10:50:12
 * @version 1.0.2016
 */
@Entity @Table(name = "TB_ESM_CONTRACT_PAYINFO")
public class Payinfo extends CommonEntityUUID {

	/** serialVersionUID(long):. */
	private static final long serialVersionUID = 2136935402394519665L;

	// 支付方式
	@Column(name = "payment", length = 10, nullable = true)
	private String payment;
	
	// 折扣
	@Column(name = "discount", nullable = true)
	private Float discount;

	// 订金
	@Column(name = "deposit", nullable = true)
	private Float deposit;
	
	// 实收
	@Column(name = "received", nullable = true)
	private Float received;
	
	// 原价
	@Column(name = "price_orig", nullable = true)
	private Float priceOrig;
	
	// 实价
	@Column(name = "price_real", nullable = true)
	private Float priceReal;

	// 合同ID
	@Column(name = "contract_id", length = 50, nullable = true)
	private String contractId;
		
	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public Float getDeposit() {
		return deposit;
	}

	public void setDeposit(Float deposit) {
		this.deposit = deposit;
	}

	public Float getReceived() {
		return received;
	}

	public void setReceived(Float received) {
		this.received = received;
	}

	public Float getPriceOrig() {
		return priceOrig;
	}

	public void setPriceOrig(Float priceOrig) {
		this.priceOrig = priceOrig;
	}

	public Float getPriceReal() {
		return priceReal;
	}

	public void setPriceReal(Float priceReal) {
		this.priceReal = priceReal;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}
	
}
